package com.qtu.order_service.entity;

import java.math.BigDecimal;
import java.sql.Date;

public class AllOrder {
    private int buyNum;
    private int sellerId;
    private String orderId;
    private Date createTime;
    private BigDecimal amount;
    private int orderState;
    private int orderStep;

    public int getOrderStep() {
        return orderStep;
    }

    public void setOrderStep(int orderStep) {
        this.orderStep = orderStep;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(int buyNum) {
        this.buyNum = buyNum;
    }

    public int getSellerId() {
        return sellerId;
    }

    public void setSellerId(int sellerId) {
        this.sellerId = sellerId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    @Override
    public String toString() {
        return "AllOrder{" +
                "buyNum=" + buyNum +
                ", sellerId=" + sellerId +
                ", orderId='" + orderId + '\'' +
                ", createTime=" + createTime +
                ", amount=" + amount +
                ", orderState=" + orderState +
                ", orderStep=" + orderStep +
                '}';
    }
}
